package com.iotechn.unimall.app.api.coach;

import com.iotechn.unimall.core.annotation.HttpMethod;
import com.iotechn.unimall.core.annotation.HttpOpenApi;
import com.iotechn.unimall.core.annotation.HttpParam;
import com.iotechn.unimall.core.annotation.HttpParamType;
import com.iotechn.unimall.data.domain.CoachDO;
import com.iotechn.unimall.data.model.Page;

import java.rmi.ServerException;

@HttpOpenApi(group = "coach" , description = "coach服务")
public interface CoachService {
    @HttpMethod(description = "教练资料")
    public Page<CoachDO> getCoachPage(

            @HttpParam(name = "page", type = HttpParamType.COMMON, description = "页码", valueDef = "1") Integer pageNo,
            @HttpParam(name = "pageSize", type = HttpParamType.COMMON, description = "页码长度", valueDef = "10") Integer pageSize) throws ServerException;

}


